Add GDK_MEMORY_R8G8B8A8_PREMULTIPLIED
authorAlexander Larsson <alexl@redhat.com>
Thu, 24 Sep 2020 13:01:51 +0000 (15:01 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 25 Sep 2020 07:31:43 +0000 (09:31 +0200)
commit8e59cdabac9596acd2d2bc502ae583f321f4f4d1
treef516d9d064559e5431b56213f59bea8131a0bc91
parent88b709d5ec6012c1e877a497551e52543297c2f0
Add GDK_MEMORY_R8G8B8A8_PREMULTIPLIED

This is the default OpenGL format, and in fact the only pixel format
that GLES supports uploading as. Actually, the premultiplied part is
really just about how we use the textures, but all textures in GTK
are premultiplied.
gdk/gdkmemorytexture.c
gdk/gdkmemorytexture.h
testsuite/gdk/memorytexture.c